<template>
	<view class="WhiteView">
		<view class="item" @click="navigato('/pages/getLifePay/getLifePay')">
			<!-- <image src="/static/logo.png" mode=""></image> -->
			<text class="iconfont icon-wodejiaofei xuxu"></text>
			<text class="LifeHouse">生活缴费</text>
		</view>
		<view class="item" @click="GoLife()">
			<text class="iconfont icon-baoxiu xuxus"></text>
			<text class="LifeHouse">物业保修</text>
		</view>
		<view class="item" @click="navigato('/pages/Feeds/Feeds')">
			<text class="iconfont icon-wentifankui xuxuss"></text>
			<text class="LifeHouse">问题反馈</text>
		</view>
		<view class="item" @click="navigato('/pages/Houseauthentication/Houseauthentication')">
			<text class="iconfont icon-xiaoxi xuxusss"></text>
			<text class="LifeHouse">我要帮助</text>
		</view>
	</view>
</template>

<script>
	export default {
		options: {
			virtualHost: true
		},
		data() {
			return {

			}
		},
		onLoad() {
		},
		methods: {
			GoLife(){
				const token = uni.getStorageSync("token")
				if(!token) return uni.navigateTo({
					url:"/pages/Login/Login"
				})
				uni.navigateTo({
					url:"/pages/warranty/warranty"
				})
			},
			navigato(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style lang="less">
	.WhiteView {
		height: 195rpx;
		background-color: #fff;
		border-radius: 12rpx;
		margin-top: 30rpx;
		display: flex;
		justify-content: space-around;

		// flex-direction: column;
		.item {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			color: #fff;

			.xuxu {
				width: 80rpx;
				height: 80rpx;
				margin-bottom: 5rpx;
				border-radius: 12rpx;
				background-color: #4f86ed;
				text-align: center;
				line-height: 80rpx;
				font-size: 50rpx;
			}

			.xuxus {
				width: 80rpx;
				height: 80rpx;
				margin-bottom: 5rpx;
				border-radius: 12rpx;
				background-color: #9fceb1;
				text-align: center;
				line-height: 80rpx;
				font-size: 50rpx;
			}

			.xuxuss {
				width: 80rpx;
				height: 80rpx;
				margin-bottom: 5rpx;
				border-radius: 12rpx;
				background-color: #e39e5e;
				text-align: center;
				line-height: 80rpx;
				font-size: 50rpx;
			}

			.xuxusss {
				width: 80rpx;
				height: 80rpx;
				margin-bottom: 5rpx;
				border-radius: 12rpx;
				background-color: #479cf7;
				text-align: center;
				line-height: 80rpx;
				font-size: 50rpx;
			}

			.LifeHouse {
				font-size: 25rpx;
				color: #000;
			}
		}
	}
</style>